package kr.hkit.powerjava.chapter06.work;

import java.util.Scanner;

public class Programming2 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.print("알파벳을 입력해주세요 : ");
		String alphabat = input.next();
		distinguish(alphabat);
		
	}
	static void distinguish(String a)
	{
		switch(a){
			case "a":	case "e":	case "i":	case "o":	case "u":	
				System.out.println(a+"는 모음입니다.");
				break;
			default:
				System.out.println(a+"는(은) 자음입니다.");
		}
	}
}
